package com.blockchain.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AliyunConfig {
    private final String accessKeyId;
    private final String accessKeySecret;
    public AliyunConfig(
            @Value("${aliyun.accessKeyid}") String accessKeyid,
            @Value("${aliyun.accessKeySecret}") String accessKeySecret) {
        this.accessKeyId = accessKeyid;
        this.accessKeySecret = accessKeySecret;
    }
    public String getAccessKeyId() {
        return accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }
}
